package com.piaodekuai.flight.pojo;

import java.io.Serializable;

public class Bankcard implements Serializable {
    private Integer bId;

    private String bNumber;

    private String bankname;

    private String banknumber;

    private static final long serialVersionUID = 1L;

    public Integer getbId() {
        return bId;
    }

    public void setbId(Integer bId) {
        this.bId = bId;
    }

    public String getbNumber() {
        return bNumber;
    }

    public void setbNumber(String bNumber) {
        this.bNumber = bNumber == null ? null : bNumber.trim();
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname == null ? null : bankname.trim();
    }

    public String getBanknumber() {
        return banknumber;
    }

    public void setBanknumber(String banknumber) {
        this.banknumber = banknumber == null ? null : banknumber.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bId=").append(bId);
        sb.append(", bNumber=").append(bNumber);
        sb.append(", bankname=").append(bankname);
        sb.append(", banknumber=").append(banknumber);
        sb.append("]");
        return sb.toString();
    }
}